package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.NameId;
import com.ruoyi.system.mapper.NameIdMapper;
import com.ruoyi.system.service.NameIdService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class NameIdImpl implements NameIdService {
    @Autowired
    NameIdMapper nameIdMapper;

    @Override
    public NameId findByName(String personName) {
        return nameIdMapper.findByName(personName);
    }
}
